import request from "@/utils/request";

// 分页查询
export const queryPageApi = (data) => request.get("/courses", { params: data });

// 删除课程
export const deleteApi = (id) => request.delete(`/courses/${id}`);